-
Notifications
You must be signed in to change notification settings - Fork 118
Delete web-angular-simple & console-simple templates #403
Conversation
README.md
Outdated
@@ -58,10 +56,10 @@ And to list all of the project templates: | |||
## Goals | |||
|
|||
* Opinionated and prescriptive; minimal to no options | |||
* Mobile-first | |||
* Mobile first |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I know this is existing, but how are we mobile first? Perhaps remove?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about "Mobile friendly"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stagehand is mobile friendly? If you mean that some of the templates are, then we should be clear on that — something like "Stagehand templates for the web are mobile first".
lib/generators/web_simple.dart
Outdated
@@ -11,8 +11,8 @@ import 'web_simple_data.dart'; | |||
*/ | |||
class WebSimpleGenerator extends DefaultGenerator { | |||
WebSimpleGenerator() | |||
: super('web-simple', 'Simple Web Application', | |||
'An absolute bare-bones web app.', | |||
: super('web-simple', 'Low-level HTML App', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not really clear to me what the term Low-level
means in the context of a web app; Simple Web App
seems clearer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, to me, Low-level HTML App is actually clearer than "Simple Web App". How about "Web App without any framework"? We want to set the expectations that this is different from the AngularDart template.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve with nits.
README.md
Outdated
@@ -58,10 +56,10 @@ And to list all of the project templates: | |||
## Goals | |||
|
|||
* Opinionated and prescriptive; minimal to no options | |||
* Mobile-first | |||
* Mobile first |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stagehand is mobile friendly? If you mean that some of the templates are, then we should be clear on that — something like "Stagehand templates for the web are mobile first".
lib/generators/web_simple.dart
Outdated
@@ -11,8 +11,8 @@ import 'web_simple_data.dart'; | |||
*/ | |||
class WebSimpleGenerator extends DefaultGenerator { | |||
WebSimpleGenerator() | |||
: super('web-simple', 'Simple Web Application', | |||
'An absolute bare-bones web app.', | |||
: super('web-simple', 'Low-level HTML App', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, to me, Low-level HTML App is actually clearer than "Simple Web App". How about "Web App without any framework"? We want to set the expectations that this is different from the AngularDart template.
site/index.html
Outdated
<li>web-angular-simple - <em>A minimalist example app used in docs.</em></li> | ||
<li>web-simple - <em>An absolute bare-bones web app.</em></li> | ||
<li>web-angular - <em>A web app with material design components.</em></li> | ||
<li>web-simple - <em>A bare-bones web app.</em></li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bare-bones web app without use of any framework? A framework-less web app?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about:
Available generators:
console-full - A command-line application sample.
package-simple - A starting point for Dart libraries or applications.
server-shelf - A web server built using the shelf package.
web-angular - A web app with material design components.
web-simple - A web app that uses no framework.
web-stagexl - A starting point for 2D animation and games.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And the (more important) IDE equivalents:
Console Application - a command-line application sample.
Dart Package - a starting point for Dart libraries or applications.
Shelf Web Server - a web server built using the shelf package.
AngularDart Web App - a web app with material design components.
Bare-bones Web App - a web app that uses no framework.
Simple StageXL Application - a starting point for 2D animation and games.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm... the last one could be:
StageXL Web App - ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @Tomucha
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One might argue that web-simple
isn't really what we'd want to call a "web app". Anyhow ...
Rather than saying what it doesn't use, why not say what it does use? E.g. "A web app using only core Dart libraries"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, didn't see this until now. @filiph, what do you think?
@devoncarew & @filiph take another look, if you dare... If not, I'll merge this soon. |
With my latest (last?) push, here are the descriptions: Console Application - a command-line application sample.
|
Also tweak template descriptions.
This contributes to #390. This PR replaces #400, which was LGTM'd but also removed the StageXL template.